class CreateFacebookDatas < ActiveRecord::Migration
  def self.up
    create_table :facebook_datas do |t|
       t.column :crawl_id, :integer
       t.column :full_name, :string
       t.column :first_name, :string
       t.column :last_name, :string
       t.column :locale_language, :string  #ISO Language Code notaion
       t.column :locale_country, :string #ISO Country Code notaion
       t.column :gender, :string
       t.column :last_update, :datetime
      #t.timestamps
    end
  end

  def self.down
    drop_table :facebook_datas
  end
end
